package com.chulianyuang.service.impl;

import com.chulianyuang.mapper.CheckResultMapper;
import com.chulianyuang.pojo.CheckResult;
import com.chulianyuang.service.CheckResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CheckResultServiceImpl implements CheckResultService {
    @Autowired
    private CheckResultMapper checkResultMapper;
    @Override
    public boolean insertCheckResult(CheckResult checkResult) {
        int a= checkResultMapper.insertCheckResult(checkResult);
        if(a>0){
            return true;
        }
        return false;
    }
}
